<?php echo $this->fetch('header.html'); ?>
<div class="row">
<div class="span12">
<ul class="nav nav-tabs">
<li><a href="<?php echo $this->_var['appadmin']; ?>?m=pay_log">支付记录</a></li>
</ul>
<form class="search-form" action="<?php echo $this->_var['appadmin']; ?>">
<input type="hidden" name="m" value="pay_log" />
	用户Id：<input type="text" name="userid"  value="<?php echo $_GET['userid']; ?>" />
    <input type="submit" class="btn " />
</form>
 <table class='table table-bordered' width='100%'>
  <tr>
   <td>id</td>
   <td>时间</td>
   <td>用户id</td>
   <td>操作类型</td>
   <td>日志内容</td>
 
   <td>金钱</td>
   <td>收支</td>
  
<td>操作</td>
  </tr>
 <?php $_from = $this->_var['data']; if (!is_array($_from) && !is_object($_from)) { $_from=array();}; $this->push_vars('', 'c');if (count($_from)):
    foreach ($_from AS $this->_var['c']):
?>
<tr>
   <td><?php echo $this->_var['c']['id']; ?></td>
   <td><?php echo date("Y-m-d",$this->_var['c']['dateline']); ?></td>
   <td><?php echo $this->_var['c']['userid']; ?>:<?php echo $this->_var['c']['nickname']; ?></td>
   <td><?php echo $this->_var['config'][pay_log_type_list][$this->_var['c'][type_id]]; ?></td>
   <td><?php echo $this->_var['c']['content']; ?></td>
   
   <td><?php echo $this->_var['c']['money']; ?></td>
   <td><?php echo $this->_var['config'][pay_log_ispay][$this->_var['c'][ispay]]; ?></td>
 
<td> <a href="javascript:;" class="delete" url="admin.php?m=pay_log&a=delete&id=<?php echo $this->_var['c']['id']; ?>">删除</a></td>
  </tr>
   <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
 </table>
<div><?php echo $this->_var['pagelist']; ?></div>
</div>
</div>
<?php echo $this->fetch('footer.html'); ?>